package com.riguz.forks.framework.ioc.test;

import javax.inject.Inject;

public class D {
    @Inject
    private A a;
    
    @Inject
    private B b ;
    
    @Inject
    private C c;
    
    public D(){
        System.out.println("New D");
    }
    
    public void sayHello(){
        System.out.println("Hello D:" + this);
        a.sayHello();
        b.sayHello();
        c.sayHello();
    }
}
